<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>资料库 - 雅马哈之星管乐卡拉ok大赛</title>
    <link rel="stylesheet" type="text/css" href="/static/web/css/style.css"/>
</head>
<body>
<div class="all-box">
    @include('web.top',['nav' => 4])
    <div class="content-box">
        <div class="height"></div>
        <div class="about rules" id="socll">
            <div class="video-title">
                <a name="a"></a>
                <ul class="clearfix">
                    @foreach($lists as $k => $v)
                        <li>
                            <a href="/data/{{$v['id']}}">{{$v['title']}}</a>
                        </li>
                    @endforeach
                </ul>
            </div>
            <div class="video-content clearfix">
                <div class="qumu">{{$info['title']}}曲目表</div>
                <div class="music-box clearfix">
                    <img src="/upload/{{$info['image']}}" width="250"/>
                    <span class="list-mu">
                        @foreach($music as $k => $v)
                            <p>{{$k+1}}.{{$v}}</p>
                        @endforeach
                            </span>

                    <div style="clear:both"></div>
                    <div class="down">
                        <p>乐谱、伴奏及示范带下载</p>
                        <a href="{{$info['downloads']}}" target="_blank" class="btn">DOWNLOAD</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    @include('web.bottom')

</div>
@include('web.baoming')
</body>
<script type="text/javascript" src="/static/web/js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="/static/web/js/index.js"></script>
<script type="text/javascript">
    var list = $("#data-list").find("li").length,
        height = $("#data-list").find("li").eq(0).outerHeight(),
        num = 0;
    $(".area-right").find(".bottom").click(function () {
        if (num < list - 4) {
            num++
        } else {
            return false;
        }

        var top = -num * 120;

        $("#data-list").animate({
            top: top
        }, 300);
    });

    $(".area-right").find(".top").click(function () {
        if (num != 0) {
            num--
        } else {
            return false;
        }

        var top = -num * 120;

        $("#data-list").animate({
            top: top
        }, 300);
    });
</script>
</html>